/**
 ** This file is part of FK Klistret Extensions. FK Klistret Extensions 
 ** is free software: you can redistribute it and/or modify it under the 
 ** terms of the GNU General Public License as published by the Free 
 ** Software Foundation, either version 3 of the License, or (at your option) 
 ** any later version.

 ** FK Klistret Extensions is distributed in the hope that it will be 
 ** useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 ** General Public License for more details. You should have received a
 ** copy of the GNU General Public License along with FK Klistret Extensions. 
 ** If not, see <http://www.gnu.org/licenses/>
 */
package se.fk.klistret.console.ui;

import java.util.EventListener;

/**
 * 2011-07-11, The comments below are from 2005 and the code is has since
 * upgraded to the Ant 1.8 platform. The patterns and design of this project
 * should not be reused since they are not considered of any quality. The code
 * was written quickly without long term concerns.
 * <p>
 * 
 * TextMenuEventListener defines a basic event listener interface requiring
 * notification that an action has been performed. This interface will be
 * implemented by the client since reacting to event should be handled withint
 * the user interface until the TextMenu framework becomes more KeyEvent
 * reactive.
 * 
 * @author Matthew Young
 */
public interface TextMenuEventListener extends EventListener {

	/**
	 * Method may be implemented "on the fly" by the class which provides the
	 * processing logic and called by TextMenuItem objects.
	 * 
	 * 
	 * @param event
	 *            <code>TextMenuEvent</code>
	 * 
	 */
	void actionPerformed(TextMenuEvent event);

}